dirs= create_key ekpub_send ekpub_store pik_client pik_casign \
      pikcert_verify pikcert_store key_check localkey_gen remotekey_gen \
      pik_caverify remotekey_send remotekey_store uuid_symm_crypt \
      sessionkey_switch expandstruct_store key_certify pcr_rw \
      quote_report tcm_libinit pcr_multirw ekpub_expandsend pikcert_remotestore
all:
	$(foreach N,$(dirs),make -C $(N) || exit "$$?";)
clean:
	rm -f ../plugin/*.so ../plugin/*.cfg
	$(foreach N,$(dirs),make clean -C $(N);)
	rm -f *~


